package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 买入超时设置
 * </p>
 *
 * @author jj
 * @since 2019-12-13
 */
@TableName("yingbao_sys_sell_setting")
public class SysSellSetting implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 等待时间
     */
    @TableField("over_time")
    private Long overTime;

    /**
     * 超时是否冻结账号
     */
    @TableField("is_frozen")
    private Integer isFrozen;

    /**
     * 是否可以挂售
     */
    @TableField("is_sell")
    private Integer isSell;

    /**
     * 是否可以买入
     */
    @TableField("is_buy")
    private Integer isBuy;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField("standby1")
    private String standby1;
    /**
     * 超时自动确认时间
     */
    @TableField("standby2")
    private Long standby2;

    @TableField("standby3")
    private String standby3;

    @TableField("version")
    private Integer version;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOverTime() {
        return overTime;
    }

    public void setOverTime(Long overTime) {
        this.overTime = overTime;
    }

    public Integer getIsFrozen() {
        return isFrozen;
    }

    public void setIsFrozen(Integer isFrozen) {
        this.isFrozen = isFrozen;
    }

    public Integer getIsSell() {
        return isSell;
    }

    public void setIsSell(Integer isSell) {
        this.isSell = isSell;
    }

    public Integer getIsBuy() {
        return isBuy;
    }

    public void setIsBuy(Integer isBuy) {
        this.isBuy = isBuy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStandby1() {
        return standby1;
    }

    public void setStandby1(String standby1) {
        this.standby1 = standby1;
    }

    public Long getStandby2() {
        return standby2;
    }

    public void setStandby2(Long standby2) {
        this.standby2 = standby2;
    }

    public String getStandby3() {
        return standby3;
    }

    public void setStandby3(String standby3) {
        this.standby3 = standby3;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "SysSellSetting{" +
        "id=" + id +
        ", overTime=" + overTime +
        ", isFrozen=" + isFrozen +
        ", isSell=" + isSell +
        ", isBuy=" + isBuy +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", standby1=" + standby1 +
        ", standby2=" + standby2 +
        ", standby3=" + standby3 +
        ", version=" + version +
        "}";
    }
}
